<?php


namespace app\cms\home\api\merchant;

use iflow\Router\Controller;
use iflow\Router\implement\Request\{ GetMapping, PostMapping, PutMapping };

#[Controller('%cmsHome%/merchant_shop')]
class merchantShop {

    // 查询 本商户 商品
    #[GetMapping]
    public function get(int $goods_id) {}

    // 下架、上架 商品
    #[PutMapping]
    public function banOrUnblockMerchShop(int $goods_id) {}

    // 创建商品
    #[PostMapping]
    public function createMerchShop() {}

    // 更新商品
    #[PutMapping]
    public function updateMerchShop() {}
}